from django.contrib import admin
from Applications.Gallery.models import Photo


# Goods模型的管理器
@admin.register(Photo)

class PhotoAdmin(admin.ModelAdmin):
    list_display = ('title', 'type', 'views', 'like', 'pub_time')
